home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 3 / CD ACTUAL 3.iso / linux / system / srouted-.000 / srouted- / srouted-0.1pl1 / timer.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-17  |  582 b   |  27 lines

  1. /* timer.h -- timer-related support */
  2.  
  3. /*
  4.  *    $Id: timer.h,v 1.1 1995/01/27 04:44:50 buhr Exp $
  5.  */
  6.  
  7. #ifndef INC_TIMER_H
  8. #define INC_TIMER_H
  9.  
  10. #include <time.h>
  11. #include <sys/socket.h>
  12. #include <sys/types.h>
  13. #include <protocols/routed.h>
  14.  
  15. #define TM_TIMEOUT        180    /* timeout routes */
  16. #define TM_GARBCOLL        120    /* garbage collect after timeout */
  17.  
  18. #define    TM_NOW_FUZZ        2    /* fuzz to catch "soon" events */
  19.  
  20. time_t tm_findnext( void );
  21. void tm_settimeout( int route );
  22. void tm_setgarbcoll( int route );
  23. void tm_killtimer( int route );
  24. time_t tm_expire( time_t now );
  25.  
  26. #endif INC_TIMER_H
  27.